package com.pac.user.bean;

import java.io.Serializable;
import java.util.List;

import com.pac.role.bean.RoleBean;

/**
 * 用户Bean
 * 
 * @author lujun.chen
 * @version [版本号, 2015年2月11日]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class UserBean implements Serializable {

	/**
	 * 注释内容
	 */
	private static final long serialVersionUID = 109844599215328903L;

	/**
	 * 用户ID
	 */
	private String id;

	/**
	 * 用户名
	 */
	private String userName;

	/**
	 * 用户密码，MD5加密存储
	 */
	private String password;

	/**
	 * 昵称
	 */
	private String nickname;

	/**
	 * 头像
	 */
	private String headImg;

	/**
	 * 用户状态 0：启用 1：停用 2：待激活
	 */
	private String state;

	/**
	 * 创建时间
	 */
	private String createDate;

	/**
	 * 账号到期时间 默认值：2099-12-31 23:59:59
	 */
	private String endDate;

	/**
	 * 用户信息明细ID
	 */
	private String userDetailId;

	/**
	 * 用户绑定的角色
	 */
	private List<RoleBean> roleList;

	/**
	 * 角色ID，多个用,分割
	 */
	private String roleIds;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getUserDetailId() {
		return userDetailId;
	}

	public void setUserDetailId(String userDetailId) {
		this.userDetailId = userDetailId;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public List<RoleBean> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<RoleBean> roleList) {
		this.roleList = roleList;
	}

	public String getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

}
